export default {
    namespaced: true,
    state:{
        homeData : [],
        salesData:[],
        tempSell:'',
        tempSellName:'',
        tempSellAll:{},
        sellData:{
        	u_id:'',
        	u_nickname:'选择销售',
        	u_phone:'',
        },
    },
    mutations:{
        updateHomeData(state,data){
            state.homeData = data;
        },
        updateSalesData(state,data){
            state.salesData = data;
        },
        updateTempSell(state,data){
            state.tempSell = data;
        },
        updateTempSellAll(state,data){
            state.tempSellAll = data;
        },
        updateTempSellName(state,data){
            state.tempSellName = data;
        },
        updateSellData(state,data){
            state.sellData = data;
        },
    }
}